package com.zjx.ssmdemo.ssm.service;

import com.zjx.ssmdemo.ssm.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IUserService {
    List<User> queryAll();
    User querybyId(int userid);
    void insertUser(User user);

    int updateUserbyId(@Param("userId") long userId, @Param("username") String username);
}
